{include file="header.tpl" title="Them moi par_approduct"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="14%">{$lbl_PRDCODE}</td>
     <td colspan="2" style="color:#FF0000">
	 <input name="PRDCODE" id="PRDCODE" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" type="text" style="background:{$colorPRDCODE}" value="{$PRDCODE}" size="15" maxlength="10" />
      *      
     <!--- <input type="hidden" id="replacement_find" type="submit" name="find" value="    "  height="15"/>--></td>
     <td width="35%" style="color:#FF0000">&nbsp;</td>
  </tr>
  
  <tr>
    <td nowrap="nowrap">{$lbl_VNDESC}</td>
    <td style="color:#FF0000" colspan="2" nowrap="nowrap">
	<input name="VNDESC" style="background:{$colorVNDESC}" id="VNDESC" type="text"  value="{$VNDESC}" size="50" maxlength="50" /></td>
    <td style="color:#FF0000" nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td>{$lbl_ENDESC}</td>
    <td colspan="2"><input name="ENDESC" id="ENDESC" type="text"  value="{$ENDESC}" size="50" maxlength="50" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_AP}</td>
    <td width="48%"><select name="AP" size="1"  id="AP">
      
      {foreach from=$cbo_loai key=k item=v}
	  	
      
      <option value="{$k}" {if $k eq $activeAP} selected="selected" {/if} >{$k} - {$v}</option>
      
	  {/foreach}
    
    
    </select>    </td>
    <td width="3%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_GLACCT}</td>
    <td colspan="2"><p>
      <input name="tmpGLACCT" type="text" id="tmpGLACCT" value="{$tmpGLACCT}" size="15" maxlength="20" onkeypress="return numberOnly(event);" class="textright" />
      <span style="color:#FF0000;">*<span style="color:#FF0000">
        <input align="top" type="button" onclick="mywindow = window.open('par_glchart.php?name=tmpGLACCT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="account" id="replacement_binoculars" value="     " />
        <input type="submit" name="add" id="add" value="{$ten_them_moi1}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'">
        <input name="delete" type="submit" value=" {$ten_xoa} " class="button_style" onclick="del_GLacc(this.form);" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></span></p>
      <p><span style="color:#FF0000">{$GL_info}</span></p></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td colspan="2">
    <textarea name="GLACCT" style="background:{$colorGLACCT}" cols="50" rows="3" id="GLACCT" readonly="readonly" >{$GLACCT}</textarea></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VERLVL}</td>
    <td><select name="VERLVL" size="1" id="VERLVL">
      
      
      {foreach from=$cbo_capduyet key=k item=v}
	  	
      
      
      <option value="{$k}" {if $k eq $activeVERLVL} selected="selected" {/if} >{$k}</option>
      
      
	  {/foreach}
    
    
    
    </select>    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_INITLEVEL}</td>
    <td><select name="INITLEVEL" size="1"  id="INITLEVEL">
      
      
      
      
      {foreach from=$cbo_capduyetbandau key=k item=v}
	  	
      
      
      
      
      <option value="{$k}" {if $k eq $activeINITLEVEL} selected="selected" {/if} >{$k} - {$v}</option>
      
      
      
      
	  {/foreach}
    
    
    
    
    
    </select>    </td>
    <td colspan="2">&nbsp;</td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VMINAMTB}</td>
    <td><input name="VMINAMTB" style="background:{$colorVMINAMTB}" type="text" onblur="formatNumber2(this,this.value,20,0);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" id="VMINAMTB" value="{$VMINAMTB}" size="20" maxlength="20" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VMINAMTA}</td>
    <td><input name="VMINAMTA" style="background:{$colorVMINAMTA}" type="text" onblur="formatNumber2(this,this.value,20,0);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" id="VMINAMTA" value="{$VMINAMTA}" size="20" maxlength="20" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VATACC}</td>
    <td><input name="VATACC" style="background:{$colorVATACC}" type="text" id="VATACC" value="{$VATACC}" size="20" maxlength="15" onkeypress="return numberOnly(event);" class="textright" />
      <span style="color:#FF0000;">*
      <input align="top" type="button" onclick="mywindow = window.open('par_glchart.php?name=VATACC', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="account2" id="replacement_binoculars" value="     " />
      </span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_AMC}</td>
    <td><select name="AMC" size="1" id="AMC">
	<option value=""></option>
      {foreach from=$cbo_AMC key=k item=v}
	 <option value="{$k}" {if $k eq $AMC} selected="selected" {/if} >{$k}</option>
      {/foreach}
    
    </select>
    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><div align="right">
    <input type="submit" name="capnhat" id="capnhat" value="{$ten_cap_nhat}" class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/>
  </div></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">

</td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
</tr>
</table>
</form>
{include file="footer.tpl"}
